package com.java.mapper;

import com.java.bean.Car;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CarMapper {
    public int addCar(Car car);

    public int deleteCar(Integer id);

    public int updateCar(Car car);

    public Car selectCarByid(Integer id);

    List<Car> selectAll();
}
